<?php
class InfoModel extends Model {
	/*
	 * 表单验证
	 */
	protected  $_validate = array(	
		array('title','require','信息标题不能为空',1,'regex',3),		 
	);
	
	protected $_auto=array(
		array('updatetime','time',3,'function'),
		array('createtime','time',1,'function'),
	);
}
?>